define(['jquery','adminlte', 'bootstrap','bootstrap-validator','datepicker','iCheck','select2'], function ($, undefined) {
	$('#datepicker').datepicker({
      	autoclose: true
    });
    
    
    //美化checkbox和radio
    $('input[type="checkbox"].flat-red, input[type="radio"].flat-red').iCheck({
      	checkboxClass: 'icheckbox_flat-green',
      	radioClass: 'iradio_flat-green'
    });
    
    //下拉框
    $(".select2").select2();
});

